const mongoose = require("mongoose");

const schema = new mongoose.Schema({
    studentID:{
        //type: mongoose.SchemaTypes.ObjectId,
        type: mongoose.Schema.Types.ObjectId,
        //关联的表格名
        ref: "student"
    },
    score:Number
})

module.exports = mongoose.model("scort",schema)